#ifndef Used_XG_DistanceBetweenCoords
#define Used_XG_DistanceBetweenCoords

library HcDistanceBetweenCoords
    //2坐标之间的距离
    function XG_DistanceBetweenCoords takes real x1, real y1, real x2, real y2 returns real
        return bj_RADTODEG * Atan2(y2-y1, x2-x1)
    endfunction
endlibrary
#endif
